home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cserial.zip / MAKEFILE.TCC < prev    next >
Text File  |  1990-04-04  |  2KB  |  79 lines

  1. #
  2. #            Makefile for various Serial Port Handler Programs
  3. #
  4. #                               8250xxx.*
  5. #
  6. #                             Written for
  7. #                         The Turbo C Compiler
  8. #
  9. #                            CopyRight 1988
  10. #
  11. #                            John Birchfield
  12. #
  13. #
  14. #   MONITOR  - a simple line monitor program
  15. #
  16. #   MDM_INIT - a modem initialization program
  17. #
  18. #   VT100    - self explanitory
  19. #
  20.  
  21. CFLAGS    =    -mt -K -DSTANDALONE
  22. BINDIR    =    /bin
  23.  
  24. IOBJS    =    mdm_init.obj 8250xon.obj timer.obj \
  25.             queue.obj ctrl_brk.obj
  26.  
  27. MOBJS    =    monitor.obj options.obj 8250xon.obj queue.obj \
  28.              ctrl_brk.obj _kb.obj timer.obj
  29.  
  30. VOBJS    =    vt100.obj queue.obj screen.obj 8250xon.obj \
  31.              ctrl_brk.obj _kb.obj timer.obj options.obj
  32.  
  33.  
  34. .c.obj : 
  35.     tcc -c $(CFLAGS) $<
  36.  
  37. all          : drop_dtr laser mdm_init monitor vt100
  38.  
  39. drop_dtr     : drop_dtr.com
  40.  
  41. mdm_init     : mdm_init.com
  42.  
  43. monitor      : monitor.com
  44.  
  45. vt100        : vt100.com
  46.  
  47. drop_dtr.com : drop_dtr.obj timer.obj
  48.     tcc $(CFLAGS) -f- drop_dtr.obj timer.obj
  49.     $(BINDIR)/exe2bin drop_dtr.exe drop_dtr.com
  50.     del drop_dtr.exe
  51.  
  52. mdm_init.com : $(IOBJS)
  53.     tcc $(CFLAGS) -f- $(IOBJS)
  54.     $(BINDIR)/exe2bin mdm_init.exe mdm_init.com
  55.     del mdm_init.exe
  56.  
  57. monitor.com  : $(MOBJS)
  58.     tcc $(CFLAGS) -f- $(MOBJS)
  59.     $(BINDIR)/exe2bin monitor.exe monitor.com
  60.     del monitor.exe
  61.  
  62. vt100.com    : $(VOBJS)
  63.     tcc $(CFLAGS) -f- $(VOBJS)
  64.     $(BINDIR)/exe2bin vt100.exe vt100.com
  65.     del vt100.exe
  66.  
  67. $(MOBJS)     : 
  68.  
  69. $(VOBJS)     : 
  70.  
  71. clean        :  
  72.     del *.obj
  73.     del *.map
  74.  
  75. archive      : 
  76.     $(BINDIR)/chmod -r comm_io.arc
  77.     $(BINDIR)/pkarc -u comm_io *.c *.h  *.asm *.rsp *.cmd makefile.*
  78.     $(BINDIR)/chmod -a *.c *.h *.rsp makefile.*
  79.